forgot to add this comment earlier
authorJoey Hess <joeyh@joeyh.name>
Mon, 2 Dec 2024 16:34:08 +0000 (12:34 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 2 Dec 2024 16:34:08 +0000 (12:34 -0400)
doc/forum/How_to_get_a_list_of_all_NOT_unused_files/comment_2_a48aa264a5514b70f8362208f3136dc0._comment [new file with mode: 0644]

diff --git a/doc/forum/How_to_get_a_list_of_all_NOT_unused_files/comment_2_a48aa264a5514b70f8362208f3136dc0._comment b/doc/forum/How_to_get_a_list_of_all_NOT_unused_files/comment_2_a48aa264a5514b70f8362208f3136dc0._comment
new file mode 100644 (file)
index 0000000..68fc7c3
--- /dev/null
@@ -0,0 +1,14 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 2"""
+ date="2024-11-25T16:19:42Z"
+ content="""
+The reason `git-annex copy --not --unused` behaves that way is that
+--unused is not a file matching option. --not, meanwhile, inverts the next
+file matching option. So here it does nothing. So that command is the same
+as `git-annex copy --unused`!
+
+Obviously, that's a bit of an excuse, but it's what's going on. I do think
+that having `--not --unused` work would be a useful thing. Opened a todo
+[[todo/support_--not_--unused]].
+"""]]